package com.tanjun.mallservice.apiservice.enums.cate;

import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum CateTypeEnum  {
    MALL(1, "商城商品");

    @JsonValue
    private Integer value;
    private String name;

    /**
     * 枚举数据库存储值
     */

    public Integer getValue() {
        return value;
    }
}
